package com.sky.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 一级分类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FirstCategory implements Serializable {
    private static final long serialVersionUID = 1L;
//    一级分类id
    private Integer id;
//    一级分类
    private String category;
//    二级分类列表
    private List<SecondCategory> children;
}
